<?php
declare (strict_types = 1);
namespace app\model;
use think\Model;

class Topic extends Model
{
    protected $autoWriteTimestamp = true;

    public function user(){
        return $this->belongsTo(User::class);
    }
}
